package com.jason.designpattern.creational.builder;

public class PersonDirector {

	private PersonBuilder pb;

	public PersonDirector(PersonBuilder pb) {
		this.pb = pb;
	}

	public Person constructPerson() {
		pb.buildHead();
		pb.buldBody();
		pb.buildArmLeft();
		pb.buildArmRight();
		pb.buildLegLeft();
		pb.buildLegRight();
		return pb.buildPerson();
	}
}
